package cn.edu.tjnu.bean;

public class UsersBean {
	private String userLogName;
	private String userPsw;
	private String userRealName;
	private int userAge;

	//部门经理的实例变量
	private ManagerBean managerB;
	
	public UsersBean() {
	}
	
	public UsersBean(String userLogName) {
		super();
		this.userLogName = userLogName;
	}

	
	public UsersBean(String userLogName, String userPsw) {
		super();
		this.userLogName = userLogName;
		this.userPsw = userPsw;
	}

	public String getUserLogName() {
		return userLogName;
	}

	public void setUserLogName(String userLogName) {
		this.userLogName = userLogName;
	}

	public String getUserPsw() {
		return userPsw;
	}

	public void setUserPsw(String userPsw) {
		this.userPsw = userPsw;
	}

	public String getUserRealName() {
		return userRealName;
	}

	public void setUserRealName(String userRealName) {
		this.userRealName = userRealName;
	}

	public int getUserAge() {
		return userAge;
	}

	public void setUserAge(int userAge) {
		this.userAge = userAge;
	}

	public ManagerBean getManagerB() {
		return managerB;
	}

	public void setManagerB(ManagerBean managerB) {
		this.managerB = managerB;
	}

	@Override
	public String toString() {
		return "UsersBean [userLogName=" + userLogName + ", userPsw=" + userPsw + ", userRealName=" + userRealName
				+ ", userAge=" + userAge + "]";
	}

}
